﻿#include "accfocus.h"

AccFocus::AccFocus(QWidget* parent):QLineEdit(parent){}
AccFocus::~AccFocus(){}

void AccFocus::focusInEvent(QFocusEvent *event) {
    emit focusChanged(true);
    QLineEdit::focusInEvent(event);
}

void AccFocus::focusOutEvent(QFocusEvent *event) {
    emit focusChanged(false);
    QLineEdit::focusOutEvent(event);
}
